/* service/newsInfo/newsInfo.wxss */
.news_info {
  padding: 28rpx 24rpx 0;

  .category-scroll {
    width: 100%;
    margin-bottom: 30rpx;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .category-list {
    white-space: nowrap;
    padding: 20rpx 0;
    display: flex;
    align-items: center;
  }

  .category-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16rpx 36rpx;
    margin-right: 24rpx;
    font-size: 28rpx;
    color: #666;
    background: #f8f8f8;
    border-radius: 32rpx;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    
    &:last-child {
      margin-right: 0;
    }

    &.active {
      color: #fff;
      background: linear-gradient(135deg, #007AFF, #0056b3);
      box-shadow: 0 4rpx 12rpx rgba(0, 122, 255, 0.2);
      transform: translateY(-2rpx);
    }
  }

  .swiper {
    width: 100%;
    height: 272rpx;
    border-radius: 14rpx;
    overflow: hidden;

    &_item {
      width: 100%;
      height: 100%;

      image {
        width: 100%;
        height: 100%;
      }
    }
  }

  .list {
    // margin-top: 40rpx;

    .title {
      font-size: 36rpx;
      font-weight: bold;
      color: #1B1B1B;
    }

    .item {
      margin-top: 20rpx;
    }
  }

  .status {
    padding: 20rpx 0;
    text-align: center;
    font-size: 28rpx;
    color: #a7a7a7;
  }

  .safe_height {
    height: calc(env(safe-area-inset-bottom) + 40rpx);
  }
}